import { axiosInstance } from "./config";

// banner 模块
export const getBannerRequest =
    () => axiosInstance.get('/banner')
// rank 模块
export const getRankListRequest =
    () => axiosInstance.get('/toplist/detail')
// singer 模块
export const getSingerListRequest =
    () => axiosInstance.get('/top/artists')
// 推荐列表
export const getRecommendListRequest =
    () => axiosInstance.get('/personalized')
// 热搜
export const getHotKeywordsRequest =
    () => axiosInstance.get('/search/hot')
// 搜索推荐 自适应搜索内容
export const getSuggestListRequest =
    (query) => axiosInstance.get(`/search/suggest?keywords=${query}`)
export const getResultSongsListRequest =
    query => axiosInstance.get(`/search?keywords=${query}`)




